From 309140dd73be406732d56cd1c8d17d7b4cfeba05 Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Tue, 11 Apr 2006 14:47:51 +0000 Subject: [PATCH] flush NMEA output file before pausing; makes named pipes much happier --- nmea.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nmea.c b/nmea.c index 976b07c0a..058544eba 100644 --- a/nmea.c +++ b/nmea.c @@ -769,6 +769,7 @@ nmea_trackpt_pr(const waypoint *wpt) time_t ymd; if ( opt_sleep ) { + fflush( file_out ); if ( last_time > 0 ) { if ( sleepus >= 0 ) { gb_sleep( sleepus ); -- 2.30.2